//
//  HomeNoticeTableViewCell.m
//  shopping
//
//  Created by 马田成 on 2017/8/30.
//  Copyright © 2017年 qianyi. All rights reserved.
//

#import "HomeNoticeTableViewCell.h"
@implementation HomeNoticeTableViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
  
//    // [_scrollTextView startScrollBottomToTop];
//    _scrollTextView = [[LMJScrollTextView2 alloc] initWithFrame:CGRectMake(10, 10, DEF_SCREEN_WIDTH, 20)];
//    _scrollTextView.delegate        = self;
//    _scrollTextView.textColor       = [UIColor blackColor];
//    _scrollTextView.textFont        = [UIFont systemFontOfSize:12.f];
//    //    _scrollTextView.textDataArr = [NSMutableArray array];
//    
//    //    [_scrollTextView.textDataArr addObjectsFromArray:myarr];
//
//    
//    _scrollTextView.textDataArr     = @[@"乐享鐦交易正常使用!"];
//    
//    NSLog(@"%@", _scrollTextView.textDataArr);
//    [self addSubview:_scrollTextView];
//    [_scrollTextView startScrollBottomToTop];


    // Initialization code
}
-(void)updateInfo:(NSArray*)SDCycleArr{
    NSMutableArray *myarr=[[NSMutableArray alloc]init];
    for (int i=0; i<SDCycleArr.count; i++) {
        
        NSString *str=[SDCycleArr[i] objectForKey:@"articleTitle"];
        
        [myarr addObject:str];
    }
  
    
    
}

- (void)scrollTextView2:(LMJScrollTextView2 *)scrollTextView currentTextIndex:(NSInteger)index{
    NSLog(@"当前是信息%ld",index);
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
